import axios from'axios'
import { Component } from 'react'

axios.defaults.baseURL='/api'
axios.interceptors.response.use(response=>{
    return response.data
})
Component.prototype.$axios=axios;
export default axios